class CreateSurgerPatients < ActiveRecord::Migration
  def self.up
    create_table :surger_patients do |t|
      t.string :surger_pat_code
      t.string :surger_pat_name
      t.string :surger_pat_sex
      t.integer :surger_pat_age
      t.string :surger_pat_room
      t.string :surger_pat_bed
      t.string :surger_pat_comp
      t.string :surger_pat_digs
      t.string :surger_pat_icds
      t.integer :surger_pat_boold_id
      t.string :surger_pat_booldmax
      t.datetime :surger_pat_date

      t.timestamps
    end
  end

  def self.down
    drop_table :surger_patients
  end
end
